package com.ssy.lingxi.product.api.model.request.warehouse;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * 单据审查请求实体类
 *
 * @author wrc
 * @date 2020/7/6
 */
@Data
public class InvoicesReviewRequest {
    /**
    * 单据ID集合
    */
    @NotEmpty(message = "单据ID集合不能为空")
    private Set<Long> ids;

    /**
     * 审核类型：0.反审 1.审核
     */
    @NotNull(message = "审核类型不能为空")
    private Integer reviewType;

    public Set<Long> getIds() {
        return ids;
    }

    public void setIds(Set<Long> ids) {
        this.ids = ids;
    }
}
